<?php

namespace Lettral\UserBundle\Entity;
use FOS\UserBundle\Entity\User as BaseUser;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use Doctrine\Common\Collections\ArrayCollection;

/**
 * @ORM\Entity
 */
class User extends BaseUser
{
    /**
	* @ORM\Id
	* @ORM\Column(type="integer")
	* @ORM\generatedValue(strategy="AUTO")
	*/
	protected $id;
        
        /**
        * @ORM\Column(type="string",length="4",nullable="true")
        * @Assert\NotBlank()
        * @Assert\Choice(choices = {"M", "Mme", "Mlle"})
        */ 
        protected $civilite;
           
        /**
        * @ORM\Column(type="string",length="50",nullable="true")   
        */ 
        protected $nom;
        
        /**
        * @ORM\Column(type="string",length="50",nullable="true")
        * @Assert\NotBlank()
        */ 
        protected $prenom;
        
        /**
        * @ORM\Column(type="string",length="150",nullable="true")
        * @Assert\NotBlank()
        */ 
        protected $adresse;
        
        /**
        * @ORM\Column(type="string",length="150",nullable="true")
        */ 
        protected $comp;

        /**
        * @ORM\Column(type="string",length="50",nullable="true")
        * @Assert\NotBlank()
        */ 
        protected $ville;

        /**
        * @ORM\Column(type="string",length="6",nullable="true")
        * @Assert\NotBlank()
        */ 
        protected $cp;

        /**
        * @ORM\Column(type="string",length="14",nullable="true")
        */ 
        protected $fixe;
        
        /**
        * @ORM\Column(type="string",length="14",nullable="true")
        */ 
        protected $port;
        
        /**
         * @ORM\Column(type="string",length="50",nullable="true")
         */
        protected $displayEmail;
        
        public function getId() {
            return $this->id;
        }

        public function setId($id) {
            $this->id = $id;
        }

        public function getCivilite() {
            return $this->civilite;
        }

        public function setCivilite($civilite) {
            $this->civilite = $civilite;
        }

        public function getNom() {
            return $this->nom;
        }

        public function setNom($nom) {
            $this->nom = $nom;
        }

        public function getPrenom() {
            return $this->prenom;
        }

        public function setPrenom($prenom) {
            $this->prenom = $prenom;
        }
        
        public function getAdresse() {
            return $this->adresse;
        }

        public function setAdresse($adresse) {
            $this->adresse = $adresse;
        }

        public function getVille() {
            return $this->ville;
        }

        public function setVille($ville) {
            $this->ville = $ville;
        }

        public function getCp() {
            return $this->cp;
        }

        public function setCp($cp) {
            $this->cp = $cp;
        }

        public function getFixe() {
            return $this->fixe;
        }

        public function setFixe($fixe) {
            $this->fixe = $fixe;
        }

        public function getPort() {
            return $this->port;
        }

        public function setPort($port) {
            $this->port = $port;
        }
        
        public function getComp() {
            return $this->comp;
        }

        public function setComp($comp) {
            $this->comp = $comp;
        }
        
        public function getDisplayEmail() {
        	return $this->displayEmail;
        }
        
        public function setDisplayEmail($displayEmail) {
        	$this->displayEmail = $displayEmail;
        }

	public function __construct()
	{
		parent::__construct();
	}
}